﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _5._22
{
    class TjNpc : NPC
    {
        public string weapon;

        public string Weapon { get => weapon; set => weapon = value; }

        public TjNpc(string name, string typeNpc, string weapon) : base(name, typeNpc)
        {
            this.weapon = weapon;
        }

        public override void Speak()
        {
            Console.WriteLine("亲爱的{0}，我这里可以{1}你需要哪个服务？", this.name, this.weapon);
        }
    }
}
